var searchHeader = {
	props: {
		loginState:Boolean,
		loginInfo:String,
	},
	template: `
		<div class='header'>
					<ul>
						<li>
							<a @click="toback" v-if='loginInfo'><span class='font_family icon-wode'></span>{{loginInfo?loginInfo:'您好,会员'}}</a><b v-if='loginInfo'></b>
							<a @click="toback" v-if='!loginInfo'><span class='font_family icon-wode'></span>VIP登录</a><b v-if='!loginInfo'></b>
						</li>
						<li>
							<a>服务查询</a><b></b>
						</li>
						<li>
							<a>中文</a><span class='font_family icon-jiantouxia1'></span>
						</li>
					</ul>
				</div>
	`,
	data() {
		return {

		}
	},
	methods: {
		toback:function(){
			this.$emit('toback');
		}
	}
}